package cn.pojo;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Entity;
import javax.persistence.Id;


@Data
@Entity
public class User {
    @Id
    @KeySql(useGeneratedKeys = true)
    private Integer id;
    private String name;


}
